<?php 
session_start();

define( "BASE_URL", "http://localhost/enfasis/" );
define( "HOST", "127.0.0.1" );
define( "USER", "root" );
define( "PASS", "123456" );
define( "DATABASE", "enfasis" );
function auload_libraries($className) {
    $arr = array(
        'enfasisDB' => '../libs/enfasisDB.php',
		'User'      => '../controllers/class.usuario.php',
        
    );
    if (isset($arr[$className])) {
        require_once (dirname(realpath(__FILE__)) . '/' . $arr[$className]);
    }
}
spl_autoload_register('auload_libraries');
